/* bps.c --- 
 * 
 * @file bps.c
 * @brief Barometric Pressure Sensor Module
 * @author Molnár Zoltán
 * @date Sat Jan 25 12:37:13 2014 (+0100)
 * Version: 
 * Last-Updated: Sun Feb  2 21:46:36 2014 (+0100)
 *           By: Molnár Zoltán
 * 
 */

/* This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License as
 * published by the Free Software Foundation; either version 3, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program; see the file COPYING.  If not, write to
 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth
 * Floor, Boston, MA 02110-1301, USA.
 */

/*******************************************************************************/
/* INCLUDES                                                                    */
/*******************************************************************************/
#include "bps.h"
#include "common.h"
#include "util.h"

/*******************************************************************************/
/* DEFINED CONSTANTS                                                           */
/*******************************************************************************/


/*******************************************************************************/
/* MACRO DEFINITIONS                                                           */
/*******************************************************************************/


/*******************************************************************************/
/* TYPE DEFINITIONS                                                            */
/*******************************************************************************/


/*******************************************************************************/
/* DEFINITIONS OF GLOBAL CONSTANTS AND VARIABLES                               */
/*******************************************************************************/


/*******************************************************************************/
/* DEFINITION OF LOCAL FUNCTIONS                                               */
/*******************************************************************************/


/*******************************************************************************/
/* DEFINITION OF GLOBAL FUNCTIONS                                              */
/*******************************************************************************/
/**
 *
 */
void vTaskBps( void *pvParameters)
{  
  LK8EX1_t tstrMeasData = {555555,6666,3333,44,555};

  for(;;)
    {
      LK8EX1_t *ptstrMeasData = &tstrMeasData;

      xQueueSendToBack( MeasDataQueue, &ptstrMeasData, portMAX_DELAY);
      vTaskDelay( 1000 / portTICK_RATE_MS);
    }
}


/******************************* END OF FILE ***********************************/

